import GithubLogo from './GithubLogo.vue'
import GoogleLogo from './GoogleLogo.vue'
import MicrosoftLogo from './MicrosoftLogo.vue'
import UnknownLogo from './UnknownLogo.vue'
import YMailLogo from './YMailLogo.vue'

export const iconMap: Record<string, unknown> = {
  google: GoogleLogo,
  github: GithubLogo,
  microsoft: MicrosoftLogo,
  ymail: YMailLogo,
  unknown: UnknownLogo,
}

export const getLogo = (provider: string) => {
  return iconMap[provider] || iconMap.unknown
}
